program Project2;

{$APPTYPE CONSOLE}

uses
  SysUtils;

var
  x, n, i, a: integer;
  massx, massy: array of integer;
  q: boolean;
  fin, fout: textFile;

begin
  assignFile(fin, 'input.txt');
  reset(fin);
  assignFile(fout, 'output.txt');
  rewrite(fout);

  read(fin, n);
  setlength(massx, n);
  setlength(massy, n);
  for i:= 0 to n-1 do
  begin
    read(fin, massx[i]);
    read(fin, massy[i]);
  end;
  q:= true;
  for i:=1 to n-2 do
  begin
    if q <> false then
    begin
      x:=massx[i-1]*massy[i]-massx[i]*massy[i-1]+massx[i]*massy[i+1]-massx[i+1]*massy[i]+massx[i+1]*massy[i-1]-massx[i-1]*massy[i+1];
      if ((x<0) and (a>0)) or ((x>0) and (a<0)) then
      begin
        q:=false;
      end;
      a:=x;
    end;
  end;
  x:=massx[n-2]*massy[n-1]-massx[n-1]*massy[n-2]+massx[n-1]*massy[0]-massx[0]*massy[n-1]+massx[0]*massy[n-2]-massx[n-2]*massy[0];
  if ((x<0) and (a>0)) or ((x>0) and (a<0)) then
  begin
    if q <> false then
    begin
      q:=false;
    end;
  end;

  if q=false then
  begin
    write(fout, '-');
  end else begin
    write(fout, '+');
  end;

  closeFile(fin);
  closeFile(fout);
end.


    {


begin
  AssignFile(fin, 'Coordinates2.txt');
  Reset(fin);



  Readln;
end.
    }